home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple WWDC 1996
/
WWDC96_1996 (CD).toast
/
Technology Materials
/
MacOS 8 Resources
/
Developer Tools
/
Mac OS 8 Interfaces & Libraries
/
Interfaces
/
CIncludes
/
UserInput.h
< prev
next >
Wrap
C/C++ Source or Header
|
1996-05-01
|
2KB
|
79 lines
/*
File: UserInput.h
Contains: User Input Event Services API
Version: Technology: System 8.0
Release: Universal Interfaces 3.0d3 on Copland DR1
Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
Bugs?: If you find a problem with this file, send the file and version
information (from above) and the problem description to:
Internet: apple.bugs@applelink.apple.com
AppleLink: APPLE.BUGS
*/
#ifndef __USERINPUT__
#define __USERINPUT__
#ifndef __TYPES__
#include <Types.h>
#endif
#ifndef __KERNEL__
#include <Kernel.h>
#endif
#ifdef __cplusplus
extern "C" {
#endif
#if PRAGMA_IMPORT_SUPPORTED
#pragma import on
#endif
#if PRAGMA_ALIGN_SUPPORTED
#pragma options align=mac68k
#endif
#if FOR_SYSTEM8_PREEMPTIVE
extern OSStatus GetApplicationUserInterfaceCapable(KernelProcessID id, Boolean *hasUI);
extern OSStatus SetApplicationUserInterfaceCapable(Boolean hasUI);
extern OSStatus GetApplicationFrontClicksSetting(KernelProcessID id, Boolean *getFrontClicks);
extern OSStatus SetApplicationFrontClicksSetting(Boolean getFrontClicks);
extern OSStatus GetApplicationBackgroundOnly(KernelProcessID id, Boolean *backgroundOnly);
extern OSStatus SetApplicationBackgroundOnly(Boolean backgroundOnly);
extern OSStatus InstallIntoApplicationList(Boolean hasUI, Boolean getFrontClicks, Boolean backgroundOnly);
extern OSStatus GetFrontApplication(KernelProcessID *id);
extern OSStatus SetFrontApplication(KernelProcessID id);
extern OSStatus GetUserInputFocus(KernelProcessID *focus);
extern OSStatus SetUserInputFocus(KernelProcessID focus);
#endif
#if PRAGMA_ALIGN_SUPPORTED
#pragma options align=reset
#endif
#if PRAGMA_IMPORT_SUPPORTED
#pragma import off
#endif
#ifdef __cplusplus
}
#endif
#endif /* __USERINPUT__ */